package com.example.batch.entity.batch;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class ExecParam extends BatchItemConfig {

    private String execTime;

    private String execUser;

    private Map<String, Object> ortherParam = new HashMap<>();

    public ExecParam() {
    }

    public static ExecParam build(String execTime, String execUser) {
        ExecParam execParam = new ExecParam();
        execParam.setExecTime(execTime);
        execParam.setExecUser(execUser);
        return execParam;
    }
}
